/*
 * @Description: 秋
 * @Author: hwh
 * @Date: 2024-09-19 19:22:07
 * @LastEditors: hwh
 * @LastEditTime: 2024-09-19 19:22:40
 */
class Father {
        void show() {
        System.out.println("A");
        }
        }
        class Son extends Father {
        void show() {
        super.show();
        System.out.println("B");
        }
        }
        public class Test15 {
        public static void main(String[] args) {
        Father f = new Son();
        f.show();
}
        }
